package aop.impl;

import org.springframework.context.support.ClassPathXmlApplicationContext;

public class Main {
	public static void main(String[] args) {
		ClassPathXmlApplicationContext cpxac = new ClassPathXmlApplicationContext("aop_impl.xml");
		Calculator calculator = (Calculator) cpxac.getBean("calculatorImpl");
		System.out.println(calculator.getClass().getName());
		
		System.out.println(calculator.div(25, 5));
	}
}